package com.lightningtrade.service;

import com.lightningtrade.domain.SysOrder;
import com.lightningtrade.util.AjaxResult;

public interface SysOrderService {

    // 创建订单
    AjaxResult createOrder(SysOrder order);

    // 查询订单
    AjaxResult getOrderById(Long id);

    // 取消订单
    AjaxResult cancelOrder(Long id);

    // 支付订单
    AjaxResult payOrder(Long id);
}
